﻿#if UNITY_EDITOR

using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace TripleJump {
    public class Editor_Model {
        [MenuItem("Tools/G02/场景模型整理/删除场景模型碰撞体")]
        static void dddd() {
            GameObject terrain = GameObject.Find("terrain");
            Collider[] colliders = terrain.GetComponentsInChildren<Collider>();
            for (int i = 0; i < colliders.Length; i++) {
                Collider.DestroyImmediate(colliders[i]);
            }
        }
    }
}
#endif
